package chixing.day10.innerclass;

public class CustomerTest {
    public static void main(String[] args) {
        Customer customer1 = new Customer(1, "aaa");
        Customer customer2 = new Customer();
        customer2.setCustId(2);
        customer2.setCustName("bbb");
        Customer.CustomerAddress customerAddress = customer2.new CustomerAddress("江苏省","苏州市","工业园区","若水路","苏州职业技术学校");
        //先有外部类对象，再有内部类对象
        Customer.CustomerAddress customerAddress1 =customer2.new CustomerAddress();
    }
}
